package com.wll.springcloud;

import com.wll.myrule.WllRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
//在微服务启动的时候就能去加载我们自定义Ribbon类
@RibbonClient(name = "SPRINGCLOUD-PROVIDER-DEPT",configuration = WllRule.class)
public class DeptConsumer_8003 {

    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer_8003.class);
    }
}
